package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 视频评论对象 t_video_comment
 * 
 * @author ruoyi
 * @date 2025-09-24
 */
public class TVideoComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 视频评论ID */
    private Long videoCommentId;

    /** 评论者ID */
    @Excel(name = "评论者ID")
    private Long userId;

    /** 视频ID */
    @Excel(name = "视频ID")
    private Long videoId;

    /** 视频评论内容 */
    @Excel(name = "视频评论内容")
    private String videoContent;

    /** 视频评论时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "视频评论时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date videoCommentTime;

    /** 删除标识,未删除为0,已删除为1 */
    @Excel(name = "删除标识,未删除为0,已删除为1")
    private Long deleteFlag;

    /** 版本号 */
    @Excel(name = "版本号")
    private String version;

    public void setVideoCommentId(Long videoCommentId) 
    {
        this.videoCommentId = videoCommentId;
    }

    public Long getVideoCommentId() 
    {
        return videoCommentId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setVideoId(Long videoId) 
    {
        this.videoId = videoId;
    }

    public Long getVideoId() 
    {
        return videoId;
    }

    public void setVideoContent(String videoContent) 
    {
        this.videoContent = videoContent;
    }

    public String getVideoContent() 
    {
        return videoContent;
    }

    public void setVideoCommentTime(Date videoCommentTime) 
    {
        this.videoCommentTime = videoCommentTime;
    }

    public Date getVideoCommentTime() 
    {
        return videoCommentTime;
    }

    public void setDeleteFlag(Long deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Long getDeleteFlag() 
    {
        return deleteFlag;
    }

    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("videoCommentId", getVideoCommentId())
            .append("userId", getUserId())
            .append("videoId", getVideoId())
            .append("videoContent", getVideoContent())
            .append("videoCommentTime", getVideoCommentTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleteFlag", getDeleteFlag())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("version", getVersion())
            .toString();
    }
}
